package pcjavanet.mobilesell.persistence;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import pcjavanet.mobilesell.model.Event;
import pcjavanet.mobilesell.model.EventExample;
import pcjavanet.mobilesell.model.PageBean;

public interface EventMapper {
    int countByExample(EventExample example);

    int deleteByExample(EventExample example);

    int deleteByPrimaryKey(Integer dbid);

    int insert(Event record);

    int insertSelective(Event record);

    List<Event> selectByExample(EventExample example);

    Event selectByPrimaryKey(Integer dbid);

    int updateByExampleSelective(@Param("record") Event record, @Param("example") EventExample example);

    int updateByExample(@Param("record") Event record, @Param("example") EventExample example);

    int updateByPrimaryKeySelective(Event record);

    int updateByPrimaryKey(Event record);

    List<Event> getOnePageBeans(@Param("example") EventExample example, @Param("pageBean") PageBean pageBean);

    int getTotalRecords(@Param("example") EventExample example, @Param("pageBean") PageBean pageBean);

    List<Event> selectByExamplePage(@Param("example") EventExample example, @Param("pageBean") PageBean pageBean);
}